package po;

public class CoursePO {
	private String courseNum;
	private String courseName;
	private String catalog;
	private String time;
	private String teacher;
	private int credit;
	
	private String detail;
	
	
	
	public CoursePO(String num,String name,String ctlg,String t,String tea,int c){
		this.setCourseNum(num);
		this.setCourseName(name);
		this.setCatalog(ctlg);
		this.setTime(t);
		this.setTeacher(tea);
		this.setCredit(c);		
	}
	
	public String getDetails() {
		return detail;
	}

	public void setDetails(String detail) {
		this.detail = detail;
	}

	public int getCredit() {
		return credit;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

	public String getTeacher() {
		return teacher;
	}

	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getCatalog() {
		return catalog;
	}

	public void setCatalog(String catalog) {
		this.catalog = catalog;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getCourseNum() {
		return courseNum;
	}

	public void setCourseNum(String courseNum) {
		this.courseNum = courseNum;
	}

	public String toString(){
		return this.courseNum+" "+this.courseName+" "+this.time+" "+this.teacher+" "+this.credit+" "+this.catalog;
	}
}
